<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Lista do cha de Cozinha</title>
    <link href="/css/main.css" rel="stylesheet" type="text/css" media="screen"/>
</head>

<body>
<div id="tudo">

<div id="topo"><h1>Lista de Cha de Cozinha</h1></div>
<div id="table" align="center">
    <form action="/" method="post" name="formCadPresente">
        <a href="/cad_presente"><h1>Quero presentear</h1></a>
    <table width="700" border="1" cellspacing="0" cellpadding="0" >
	<tr >
            <th>Lista de presentes</th>
            <th>Nomes</th>
	</tr>
            {% for lista in listas %}
                <tr>			
                 <td width='40%'><img src='/imgs/icon-presente.png'/>&nbsp;{{ lista.descricao }}</td>
              {% if lista.nome %}
                 <td>{{ lista.nome }}</td>
              {% else %}
                 <td id='idPresente'>
                    Presente Disponivel
                 </td>
              {% endif %}
                </tr>
            {% endfor %}
       </table>
    </form>
</div> 
</div>
<br />
</body>
</html>

